import { config } from "@/managers/ConfigManager.js";
import { SceneManager } from "@/managers/SceneManager.js";
import { Scene_Base } from "@/scenes/Scene_Base.js";
import { Window_Options } from "@/windows/Window_Options.js";
export class Scene_Options extends Scene_Base {
    constructor() {
        super();
    }

    create() {
        super.create();
        this.createOptionsWindow();
    }

    createOptionsWindow() {
        this._optionsWindow = new Window_Options(400,252);
        this._optionsWindow.x=config.width/2-200;
        this._optionsWindow.y=config.height/2-126;
        this._optionsWindow.setHandler('cancel', ()=>{
            SceneManager.pop();
        });
        this.addWindow(this._optionsWindow);
    }
}